projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a86009
)
(report-emacs-bug-hook): Use replace-match only if search was successful.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Apr 2002 17:11:30 +0000
(17:11 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Apr 2002 17:11:30 +0000
(17:11 +0000)
lisp/mail/emacsbug.el
patch
|
blob
|
history
diff --git
a/lisp/mail/emacsbug.el
b/lisp/mail/emacsbug.el
index 9b1d3cd45539d4adab85e268142ce24ba68da55b..e444fbfae3e928109bb736cdf0f69a35aa86c557 100644
(file)
--- a/
lisp/mail/emacsbug.el
+++ b/
lisp/mail/emacsbug.el
@@
-242,9
+242,9
@@
and send the mail again using \\[mail-send-and-exit].")))
(let ((p (point)))
(if (re-search-forward (concat "^In " (emacs-version)) nil t)
(delete-region p (match-beginning 0))))
- (re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*"
- (point-max) t)
-
(replace-match "Symptoms:\n"
)))
+ (
if (
re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*"
+
(point-max) t)
+
(replace-match "Symptoms:\n")
)))
(provide 'emacsbug)